package com.pearlsoft.rms;

import java.util.ArrayList;
import java.util.List;

/**
 * 
 * @author rainshow
 * @Created 2012-5-26 下午03:05:26
 */

public class MetricResult {

    List<List<Long>> data;

    String unit;

    public MetricResult() {
        this("");
    }

    public MetricResult(String unit) {
        this(unit, new ArrayList<List<Long>>());
    }

    public MetricResult(String unit, List<List<Long>> data) {
        this.unit = unit;
        this.data = data;
    }

    public List<List<Long>> getData() {
        return data;
    }

    public void setData(List<List<Long>> data) {
        this.data = data;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

}
